const mutations = {
	/* 登录缓存 */
	setStorage(state, val) {
		uni.setStorageSync('userInfo', val)
		state.userInfo = val
	},
	/* 退出登录 */
	cleanStorage(state){
		state.userInfo={}
	},
	//设置报告详情
	setReportDetail(state,val){
		// console.log(val)
		uni.setStorageSync('reportDetail',val)
		state.reportDetail = val
	}


}
export default mutations
